package com.zhiyou100.dao;

import com.zhiyou100.emtity.Role;

import java.util.List;

/**
 * @description:
 * @author: 马跃
 * @create: 2021-01-20 17:31
 **/
public interface RoleDao {
    List<Role> queryAll();

    void add(Role role);

    void delete(int id);

    Role query(int id);

    void update(Role role);

    List<Role> likeQuery(String like);
}
